package com.turing.orm.model.vo.common;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description 数据库基本字段
 * @Author lcy
 * @Date 2021/4/13 17:59
 */
@ApiModel(value = "数据库基本字段")
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
/*@AllArgsConstructor
@NoArgsConstructor*/
public class BaseVo implements Serializable {

    @ApiModelProperty(value = "是否删除标志")
    private boolean isDel;

    @ApiModelProperty(value = "创建时间")
    private Date createdTime;

    @ApiModelProperty(value = "最后修改时间")
    private Date updatedTime;

    /*@ApiModelProperty(value = "版本号")
    private Long version;*/
}
